import {post,get,put,del} from './http.js';

export const addBlog = param => post('blog/add',param);

export const listBlog = param => get('blog/list',param);

export const blogDetail = param => get('blog/detail',param);

export const setBlog = param => put('blog/set',param);

export const delBlog = param => del('blog/del', param);